﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Data;

namespace SoftHotel.Models
{
    public class EntidadPerfil
    {
        [Key, Column(Order = 0)]
        public int idPerfil { get; set; }
        [Key, Column(Order = 1)]
        public int idEntidad { get; set; }
        public bool nuevo { get; set; }
        public bool editar { get; set; }
        public bool ver { get; set; }
        [ForeignKey("idPerfil")]
        public Perfil objperfil { get; set; }

        [ForeignKey("idEntidad")]
        public Entidad objentidad { get; set; }
    }
}